package com.hello.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
@Data
@ApiModel(description = "发表帖子时用户传递的数据")
public class PostAddDTO  {
    //private static final long serialVersionUID = 1L;
    @ApiModelProperty("用户账号")
    private Long hostId;
    @ApiModelProperty("帖子标题")
    private String title;

    @ApiModelProperty("帖子正文")
    private String text;

    @ApiModelProperty("帖子图片")
    private String imageUrl;

}
